Content -based similarity retrieval system for image data

ABSTRACT

An image retrieval system for retrieving image similarities from a database is proposed. The image retrieval system uses a universal query mechanism (UQM) to locate statistically silent common features among sample query images from different feature sets. The UQM also adjusts the weight factor for each feature to meet a user&#39;s query demand.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention is generally directed to image retrieval systems, and more particularly, to content-based retrieval of similar-looking images by employing multi-instance or relevance feedback to query images.

[0003] 2. Description of the Related Art

[0004] The importance of content-based retrieval techniques for multimedia is assured in view of the widely used and distributed international coding standards, such as JPEG and MPEG, on the Internet. A particular multimedia content description interface, MPEG-7, is currently used to provide normal numerical descriptors for database search engine as matching criteria. For 2D shapes, MPEG-7 uses contour-based and region-based descriptors. Although describing shape contour by Fourier descriptors (FDs) can provide size, rotation and transition invariants for indexing, FDs are sensitive to noises and are more suitable for describing closed contour of shapes. For region-based descriptors, zernike and pseudo-zernike moments (ZMs and PZMs) are efficient features for retrieving similar shapes. Specific features such as edge orientation, aspect ratio, or complexity can be extracted for different databases and applications. Statistics, such as histogram or probability distribution model for the above-described features, are computed and considered as matching criteria for similarity measurement.

[0005] Shape descriptors have also been used to extract shape boundaries which are grouped into families on the basis of perceptual similarity. Visually salient feature is determined using probabilistic distribution model of trademarks in database and then trademarks with similar shape were retrieved according to this salient feature. A Multi-resolution description can be obtained by computing the mean and variance of each wavelet sub-band as to provide a concise description of the shape's texture and shape. Shape features as discussed above can also be brought up according to specific databases and user requirements. Although efficient in retrieving similar shapes for one application, one set of universal descriptors cannot satisfy all specific requirements. Indeed, one set of descriptors may perform well for one database but not the other, and each user may need specific combination of features for their specific retrieval target.

SUMMARY OF THE INVENTION

[0006] Accordingly, an object of the present invention is to provide a content-based retrieval method and apparatus which retrieves statistically salient common features among sample query images having different feature sets.

[0007] It is another object of the present invention to update sample query images by multi-instance or relevance feedback.

[0008] It is still another object of the present invention to provide a universal query mechanism (UQM) or process that is plural and flexible in selecting proper features as to meet a user's intent or requirement.

[0009] These and other objects of the present invention are achieved by providing a content-based retrieval method and apparatus which finds the most common features among each set of sample query images from multi-instance or relevance feedback. In particular, each set of sample query images is constructed by finding similar images shapes in the database. The resulting sample query images are statistically similar to query input, i.e. relative instead of absolute similarity. A probability distribution model for the feature vectors is used to dynamically adjust weights such that most common ones among sample query images dominates feedback query. Whenever new feature sets are devised, they could be acquired by the query system. The query unit then searches from all feature sets such that the statistically common features become the new query vector. Accordingly, the UQM accommodates new feature sets easily and adjusts weights for various features dynamically according to a user's query and statistics of the database.

[0010] For similarity retrieval, each user has his definition for shape similarity and no one universal set of shape descriptors could satisfy all specific requirements. Usually, the indexing system provides relevance feedback to learn what user's intention is and generating a new feature vector for next query. Instead of using mean of feature vectors (MFV) from sample query images as the new query vector, the UQM of the present invention finds statistically salient common features among sample query images with different feature sets.

[0011] Related aspects and advantages of the invention will become apparent and more readily appreciated from the following detailed description of the invention, taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0012]FIG. 1 is a schematic diagram showing a content-based retrieval method according to a preferred embodiment of the present invention;

[0013]FIG. 2 is a schematic diagram showing a UQM according to the preferred embodiment of the present invention;

[0014]FIG. 3 is a schematic chart showing the measurement of feature saliency; and

[0015] FIGS. 4A-C and 5A-B show results of the content-based retrieval method according to a preferred embodiment of the present invention

DETAILED DESCRIPTION OF THE INVENTION

[0016] The present invention will now be described by way of preferred embodiments with references to the accompanying drawings. Like numerals refer to corresponding parts of various drawings.

[0017] One embodiment of content-based similarity retrieval process for database images is shown in FIG. 1. During the first phase, common features of multimedia content in a multimedia database are extracted by feature extraction units 12 and 14 and stored in feature databases 16 and 18. In the second phase (i.e., similarity retrieval), a user selects an initial query image either through an on-line editing interface 20 or from one or more sample images stored in the database 10. If a new image is created from the on-line interface 20, features in the new image must be extracted by both feature extraction units 12 and 14 before searching in the feature databases 16 and 18. If one of the sample images stored in the database 10 were used as the initial query image, then only an identification code will be sent to the feature databases 16 and 18, which sends associated feature of the initial query image to a UQM 22 such that both query units 24 and 26 in the UQM can generate a representative feature vector for retrieving a set of sample query images.

[0018] Since more than one feature set may be created and new features can be plugged into the UQM based on a user's requirement, statistically common features are retrieved among sample query images through multi-instance or by relevance feedback. The weight factor for each feature is adjusted by UQM to meet a user's query requirement. The query results are the same when non-related features are involved or excluded in the retrieval process.

[0019] Assume n feature sets are created, then the feature vector for sample s can be represented as

{right arrow over (F)}_(s)=({right arrow over (ƒ)}₁, {right arrow over (ƒ)}₂, . . . , {right arrow over (ƒ)}_(n)),

[0020] where the i-th feature set is {right arrow over (ƒ)}_(i)=(ƒ_(i1), ƒ_(i2), . . . ƒ_(iN) ₁ ). Let {right arrow over (N)}_(t)={ij|i=1, . . . , n, j=1, . . . , N_(i)}, and the feature vector can be represented as {right arrow over (F)}_(s)={ƒ_(k)|k∈{right arrow over (N)}_(t)}. Let the probability distribution function of feature ƒ_(i) be p(ƒ_(i)), then the probability density function P(ƒ) would be: $\begin{matrix} {{P(f)} = {\int_{0}^{f}{{p\left( f_{i} \right)}{f_{i}}}}} & (1) \end{matrix}$

[0021] Through multi-instance or relevance feedback, the UQM as shown in FIG. 2 seeks to find common features among sample query images. Weight factors are adjusted such that statistically common features dominate in the representative feature vector for next sample query images. Let there be q sample query images, either for multi-instance or relevance feedback, and the q feature vectors available are {right arrow over (F)}_(s) where s=1, . . . , q. Mean and variance of these vectors could be represented as: $\begin{matrix} {{\left\{ m_{j} \right\}_{{\overset{\rightharpoonup}{N}}_{t}} = {{E\left\lbrack {\overset{\rightarrow}{F}}_{s} \right\rbrack} = {\left\{ {E\left\lbrack f_{j} \right\rbrack} \right\}_{j \in {\overset{\rightharpoonup}{N}}_{t}} = \left\{ {E\left\{ {{{f_{ij}i} = 1},\ldots \quad,q} \right\}} \right\}_{j \in {\overset{\rightharpoonup}{N}}_{t}}}}}\text{and}} & (2) \\ {\left\{ \sigma_{j}^{2} \right\}_{{\overset{\rightharpoonup}{N}}_{t}} = {\left\{ {E\left\lbrack \left( {f_{j} - m_{j}} \right)^{2} \right\rbrack} \right\}_{j \in {\overset{\rightharpoonup}{N}}_{t}} = {\left\{ {{E\left\{ {{{f_{ij}^{2}i} = 1},\ldots \quad,q} \right\}} - m_{j}^{2}} \right\}_{j \in {\overset{\rightharpoonup}{N}}_{t}}.}}} & (3) \end{matrix}$

[0022] For similarity measurement in statistics as shown in FIG. 3, positive and negative feedback samples are provided and feature compactness F_(C)(•) and feature diversity F_(D)(•) in probability are defined as:

F _(C)(m,σ)=P(m+σ)−P(m−σ); and  (4)

F _(D)(m ₁,σ₁ ,m ₂,σ₂)=P(m ₂−σ₂)−P(m ₁+σ₁).  (5)

[0023] F_(D)(•)=1 is set so that if the number of negative feedback samples is zero. The weight, w_(j), of j-th feature,ƒ_(j), for the next query are adjusted according to the following relation: $\begin{matrix} {\omega_{j} \cong \frac{F_{D}\left( {m_{j}^{P},\sigma_{j}^{P},m_{j}^{N},\sigma_{j}^{N}} \right)}{{F_{C}\left( {m_{j}^{P},\sigma_{j}^{P}} \right)} \cdot {F_{C}\left( {m_{j}^{N},\sigma_{j}^{N}} \right)}}} & (6) \end{matrix}$

[0024] For one feature, say j-th feature, which is statistically similar among query sample images, it would yield a smaller F_(C)(•), and this feature would get high credit because of larger w_(j) is assigned. Whenever new feature sets are created, statistically common features among all feature sets would dominate the query process no matter how many feature sets are specified. In short, feature sets could be integrated or excluded from the query according to a user's requirement without affecting query results, i.e., only statistically similar features dominate the query.

[0025] For applications that provide positive and negative samples, the query unit intends to enhance a positive feature while excluding the negative ones. Since F_(D)(m_(j) ^(P),σ_(j) ^(P),m_(j) ^(N),σ_(j) ^(N)) evaluates the depletion region between features to be discriminated, features to be excluded needs not be statistically common hence the following is set: F_(C)(m_(j) ^(N),σ_(j) ^(N))=1. In addition, to make common features dominate and to exclude unrelated features, the following is set: W_(j)=1 when the ratio in equation (6) is larger than a predefined threshold and 0 for others.

[0026] In short, the control steps of the invention are summarized as follows:

[0027] (1) the feature vector (ƒ₁,ƒ₂, . . . , ƒ_(N)) is extracted for each sample image in the database;

[0028] (2) the probability distribution function is computed and stored for each feature either by {(m_(i),σ_(i))}_(i=1, . . . , N) or {p(ƒ_(ij))|j=1, . . . , M}_(i=1, . . . , N);

[0029] (3) for each query, compute mean (m) and standard deviation (σ) for each feature among query image;

[0030] (4) find the feature commonality for each feature i.e., F_(C)(m,σ)=P(m+σ)−P(m−σ) and generate new weight by the following condition: iƒ(F_(c)<P_(T)) ω_(i)=1 else ω_(i)=0; and

[0031] (5) perform new retrieval by new feature vector (m₁,m₂, . . . , m_(N)) and new weight vector (ω₁,ω₂, . . . , ω_(N)).

[0032] Statistical characteristics of features in the database are exploited for similarity retrieval. In cases that most feature values of the same family diverse while they are similar in probability space, the retrieval results may not converge from human perception. It happens when there are very few similar images in the database or too many noises in the images. For this, w_(i)=0 is set to keep the common feature dominating the query process when ${\sigma_{i}^{c} > {\frac{1}{c} \cdot \sigma_{i}^{s}}},$

[0033] where σ_(i) ^(c) and σ_(i) ^(c) are standard deviation of ith features from relevant and all database samples, respectively.

[0034] Results of the content-based retrieval method according to a preferred embodiment of the present invention are shown in FIGS. 4 and 5. Thirty thousand registered Taiwan trademarks were collected from Taiwan Bell Trademark Company. They contain text pattern, animal, regular geometrical shape and shapes with text et al. These shape patterns were segmented manually from scanned documents in JPEG format. Each one is pre-processed by locating MBC of shapes before further feature extraction. For efficient feature extraction, magnitude of ZM and PZM were computed for each sample by the lookup-table method with order, n, up to ten. The numbers of ZM and PZM are 36 and 66, respectively.

[0035]FIG. 4A is the retrieval results by one query image 42. Image 43 is selected as the relevance feedback for the next retrieval. Mean of feature vectors of the two instances (images 42 and 43) is first used as the input for the second query. FIG. 4B shows the second query results and two visually similar shapes, i.e., images 44 and 45, other than those in FIG. 4A, are retrieved if features were not weighted by the UQM method. In FIG. 4C, three more similar shapes in images 46, 47 and 48 are retrieved when the proposed UQM are used.

[0036] Another retrieval results of query by three-instances are demonstrated in FIGS. 5A and 5B. In FIG. 5A, the proposed UQM searches out two more visually similar images 50 and 51 that are not presented in FIG. 5B in which features are not weighted by UQM.

[0037] The invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. Scope on the invention is thus indicated by the claims rather than by the forgoing description, and all changes which come within the meanings and range of equivalency of the claims are therefore intended to be embraced herein. 

What is claimed is:
 1. A content-based retrieval method for retrieving one or more images from a multimedia database, the retrieval method comprising the steps of: constructing a sample query image; extracting a salient and common feature vector from said sample query image; generating an adjusted weight factor based on said salient and common feature vector; generating a new feature vector based on said adjusted weight factor; and generating a new query image based on said new feature vector.
 2. The content-based retrieval method of claim 1, wherein said step of extracting salient and common feature vector comprises: extracting a representative feature vector for each of said sample query images; and computing and storing a probability distribution function, a mean value and a variance value for said representative feature vector.
 3. The image retrieval method of claim 2 wherein said mean value and said variance value are respectively represented by: {m _(j)}_({right arrow over (N)}) _(t) =E[{right arrow over (F)} _(s) ]={E[f _(j)]}_(jε{right arrow over (N)}) _(t) ={E{f _(ij) |i=1, . . . ,q}} _(jεN{right arrow over (N)}) _(t) ; {σ_(j) ²{{right arrow over (N)}_(t) ={E[(f _(j) −m _(j))²]}_(jε{right arrow over (N)}) _(t) ={E{f _(1j) ² |i=1, . . . , q}−m _(j) ²}_(jε{right arrow over (N)}) _(i).
 4. The content-based image retrieval method of claim 2, wherein said probability distribution function is represented by: {(m _(i),σ_(i))}_(i=1, . . . , N) or {p(ƒ_(ij))|j=1, . . . , M} _(i=1, . . . , N).
 5. The content-based image retrieval method of claim 2, wherein said salient and common feature vector is measured by: F _(C)(m,σ)=P(m+σ)−P(m−σ).
 6. The content-based image retrieval method of claim 1, wherein said adjusted weight factor is generated according to: iƒ(F _(C) <P _(T))ω_(i)=1 else ω_(i)=0.
 7. A content-based retrieval method for retrieving one or more images from a multimedia database, the retrieval method comprising the steps of: inputting one or more initial query images by a user; extracting feature vectors for said initial query images based on one or more requirements of said user; extracting salient and common features based on said feature vectors; generating adjusted weight factors based on said salient and common features; generating new feature vectors based on said adjusted weight factors; and generating new query images based on said new feature vectors.
 8. The content-based retrieval method of claim 7, wherein said extracted feature vectors are stored in one or more feature databases.
 9. The content-based retrieval method of claim 7, wherein said step of extracting said salient and common feature vectors comprises: extracting a representative feature vector for each of said sample query images; and computing and storing a probability distribution function, a mean value and a variance for said representative feature vector.
 10. The content-based image retrieval method of claim 9 wherein said mean value and said variance value are respectively represented by: {m _(j)}_({right arrow over (N)}) _(t) =E[{right arrow over (F)} _(s) ]={E[f _(j)]}_(jε{right arrow over (N)}) _(t) ={E{f _(ij) |i=1, . . . ,q}} _(jεN{right arrow over (N)}) _(t) ; {σ_(j) ²{{right arrow over (N)}_(t) ={E[(f _(j) −m _(j))²]}_(jε{right arrow over (N)}) _(t) ={E{f _(1j) ² |i=1, . . . , q}−m _(j) ²}_(jε{right arrow over (N)}) _(i) .
 11. The content-based image retrieval method of claim 9, wherein said probability distribution function is represented by: {(m _(i),σ_(i))}_(i=1, . . . , N) or {p(ƒ_(ij))|j=1, . . . , M} _(i=1, . . . , N).
 12. The content-based image retrieval method of claim 9, wherein said salient and common feature vector is measured by: F _(C)(m,σ)=P(m+σ)−P(m−σ).
 13. The content-based image retrieval method of claim 7, wherein said adjusted weight factor is generated according to: iƒ(F_(c) <P _(T))ω_(i)=1 else ω_(i)=0.
 14. A content-based retrieval method for retrieving one or more images from a multimedia database, the retrieval method comprising the steps of: selecting one or more initial query images from said database; retrieving corresponding feature vectors for said initial query images; extracting salient and common features based on said feature vectors; generating new weighting factors based on said salient and common features; generating new feature vectors based on said new weighting factors; and generating new query images based on said new feature vectors.
 15. The content-based retrieval method of claim 14, wherein said step of extracting salient and common feature vectors comprises: extracting a representative feature vector for each of said sample query images; and computing and storing a probability distribution function, a mean value and a variance value for said representative feature vector.
 16. The image retrieval method of claim 15, wherein said mean value and said variance value are respectively represented by: {m _(j)}_({right arrow over (N)}) _(t) =E[{right arrow over (F)} _(s) ]={E[f _(j)]}_(jε{right arrow over (N)}) _(t) ={E{f _(ij) |i=1, . . . ,q}} _(jεN{right arrow over (N)}) _(t) ; {σ_(j) ²{{right arrow over (N)}_(t) ={E[(f _(j) −m _(j))²]}_(jε{right arrow over (N)}) _(t) ={E{f _(1j) ² |i=1, . . . , q}−m _(j) ²}_(jε{right arrow over (N)}) _(i).
 17. The content-based image retrieval method of claim 15, wherein said probability distribution function is represented by: {(m _(i),σ_(i))}_(i=1, . . . , N) or {p(ƒ_(ij))|j=1, . . . , M} _(i=1, . . . , N).
 18. The content-based image retrieval method of claim 15, wherein said salient and common feature vector is measured by: F _(C)(m,σ)=P(m+σ)−P(m−σ).
 19. The content-based image retrieval method of claim 15, wherein said adjusted weight factor is generated according to: iƒ(F _(C)<P_(T))ω_(i)=1 else ω_(i)=0.
 20. A content-based retrieval apparatus for retrieving one or more images from a multimedia database, comprising: a multimedia database for storing sample query images; one or more feature extraction unit for extracting salient and common feature vectors from said sample query images; one or more feature databases for storing said salient and common feature vectors; and one or more universal query units for generating adjusted weight factors based on said salient and common feature vectors, generating new feature vectors based on said adjusted weight factors, and generating new query images based on said new feature vectors. 